package com.master.redis;

public class GoodsKey extends BasePrefix {
    public GoodsKey(int expireSeconds, String prefix) {
        super(expireSeconds, prefix);
    }

    public static GoodsKey getGoodsList = new GoodsKey(60,"gl");
    public static GoodsKey getGoodsDetail = new GoodsKey(60,"gd");

    //商品的缓存库存,永久有效
    public static GoodsKey getMiaoshaGoodsStock = new GoodsKey(0,"gs");
}
